package net.lab1024.sa.admin.module.upstream.product.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ProductAddForm {

    @Schema(description = "产品名称")
    @NotBlank(message = "产品名称不能为空")
    private String productName;

    @Schema(description = "联通价格")
    @NotNull(message = "联通价格不能为空")
    private Integer cuccPrice;

    @Schema(description = "电信价格")
    @NotNull(message = "电信价格不能为空")
    private Integer ctccPrice;

    @Schema(description = "移动价格")
    @NotNull(message = "移动价格不能为空")
    private Integer cmccPrice;

    @Schema(description = "企业")
    @NotNull(message = "企业必选")
    private Long enterpriseId;
}
